GetStorageUnit
TheGetStorageUnit
method returns a reference to the storage unit that created this storage-unit view.
ODStorageUnit GetStorageUnit ();
- return value
- A reference to the storage unit that created this storage-unit view.
DISCUSSION
This method does not increment the reference count of the returned storage unit. For that reason, if you cache the returned storage unit, you should call itsAcquire
method to increment its reference count and then call itsRelease
method when you are finished using it.SEE ALSO
Listing 2-46 on page 108 in OpenDoc Cookbook.
Listing 2-47 on page 110 in OpenDoc Cookbook.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help